home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 676-700 / 687 / xsb / testxsb.c < prev    next >
C/C++ Source or Header  |  1995-03-18  |  257b  |  15 lines

  1. #include "xsb.h"
  2.  
  3. struct Library *XSBBase;
  4.  
  5. void main(int argc, char **argv)
  6. {
  7.     if(!(XSBBase=OldOpenLibrary(argv[1]))) {
  8.         printf("can't open lib\n");
  9.         exit(20);
  10.     }
  11.     printf("%s\n",XSBGetID());
  12.     XSBBlankScreen(SIGBREAKF_CTRL_D,0);
  13.     CloseLibrary(XSBBase);
  14. }
  15.